<html>
<head>
<title>300px Body</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
.style1 {color: #FF0000}
.style2 {color: #000000}
.error_strings{ font-family:Verdana; font-size:12px; color:#660000;}
-->
</style>
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- ImageReady Slices (300px Body.jpg) -->

<script language="JavaScript" src="../logic/validation/validation.js" type="text/javascript"></script>
<script language="JavaScript" src="../logic/validation/marks_add.js" type="text/javascript"></script>


<table width="800" height="3" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
	<tr>
		<td><img src="../images/st_marks.gif" width="800" height="69" alt=""></td>
	</tr>
	<tr>
		<td height="64" background="../images/2.gif" style="background-repeat:repeat-y"> 
    		<table width="750" border="0" align="center" cellpadding="0" cellspacing="0">
      			<form id="myForm" onSubmit="return validate()">
      			<tr>
        			<td width="118">&nbsp;</td>
        			<td width="127" height="25"><div align="right"><strong>Registration No </strong><span class="style1">* </span></div></td>
        			<td colspan="6"><input name="txtRegno" type="text" id="txtRegno" maxlength="5" onBlur="checkregno()"></td>
        			<td width="232">&nbsp;</td>
      			</tr>
      			<tr>
        			<td>&nbsp;</td>
        			<td height="25">&nbsp;</td>
        			<td colspan="6"><div id="ajaxDiv1" class="error_strings"></div></td>
        			<td>&nbsp;</td>
      			</tr>
	  				<?php 
	  	    		include'../logic/Classes/db.php';
		    		$x=new Dbconnect();
				    $con=$x->getConnection();
	 			    $result1=mysql_query("select sub_gr from subject_code",$con);
	     			?>
	        <tr>
        		<td>&nbsp;</td>
        		<td height="25"><div align="right"><strong>Subject Code <span class="style1">*</span></strong></div></td>
        		<td colspan="6"><select name="sltSubgr" id="sltSubgr">
          			<option value="Select">Select</option>
          			<?php while($row1=mysql_fetch_array($result1)) {?>
		  			<option value="<?php echo $row1['sub_gr'];  ?>"><?php echo $row1['sub_gr'];  ?>   </option>
          			<?php } ?>
        			</select>        </td>
        		<td>&nbsp;</td>
      		</tr>
      		<tr>
        		<td>&nbsp;</td>
        		<td height="25">&nbsp;</td>
        		<td colspan="6"></td>
        		<td>&nbsp;</td>
      		</tr>
      		<tr>
        		<td>&nbsp;</td>
        		<td height="25"><div align="right"><strong>Month</strong><span class="style1">* </span></div></td>
        		<td colspan="4"><select name="sltMonth" id="sltMonth">
        			<option value="Select" selected="selected">Month</option>
                    <option value="January">January</option>
        			<option value="February">February</option>
        			<option value="March">March</option>
        			<option value="April">April</option>
        			<option value="May">May</option>
        			<option value="June">June</option>
        			<option value="July">July</option>
        			<option value="August">August</option>
        			<option value="September">September</option>
       			 	<option value="October">October</option>
        			<option value="November">November</option>
        			<option value="December">December</option>
        			</select></td>
        	<td width="45"><div align="right"><strong>Year</strong><span class="style1">* </span></div></td>
        	<td width="93"><select name="sltYear" id="sltYear">
        		<option value="Select" selected="selected">Year</option>
        		<option value="2012">2012</option>
        		<option value="2013">2013</option>
        		<option value="2014">2014</option>
        		<option value="2015">2015</option>
        		</select></td>
        	<td>&nbsp;</td>
      	</tr>
		 <tr>
        	<td>&nbsp;</td>
        	<td height="25">&nbsp;</td>
        	<td colspan="6"></td>
        	<td>&nbsp;</td>
      	</tr>
     	<tr>
        	<td>&nbsp;</td>
        	<td height="25"><div align="right"><strong>Marks</strong><span class="style1">* </span></div></td>
        	<td colspan="6"><input name="txtMarks" type="text" id="txtMarks" maxlength="5" ></td>
        	<td>&nbsp;</td>
      	</tr>
		 <tr>
        	<td>&nbsp;</td>
        	<td height="25">&nbsp;</td>
        	<td colspan="6"></td>
        	<td>&nbsp;</td>
      	</tr>
 		<tr>
        	<td>&nbsp;</td>
        	<td height="25">&nbsp;</td>
         	<td colspan="6"><div id="ajaxDiv" class="error_strings"></div></td>
        	<td>&nbsp;</td>
      	</tr>
        <tr>
        	<td>&nbsp;</td>
        	<td height="25">&nbsp;</td>
        	<td colspan="3"><input type="submit" name="Submit" value="Save" onClick="" ></td>
        	<td width="91"><input type="reset" name="Submit2" value="Cancel" onClick="clearx()"></td>
        	<td colspan="2">&nbsp;</td>
        	<td>&nbsp;</td>
      	</tr>
	   </form>
    </table>
	</td>
   </tr>
	<tr>
		<td>
			<img src="../images/3.gif" width="800" height="40" alt=""></td>
	</tr>
</table>
<!-- End ImageReady Slices -->
</body>
</html>